package com.xca.znb.entity;

public class Order {
    private int id ;
    private int localId ;
    private int goodsId ;
    private int num ;
    private String remark ;
    private String buyer ;
    private String sales ;
    private String type ;
    private String time ;

    public Order(){

    }
    public Order(int localId , int goodsId , int num , String remark ,
                 String buyer , String sales , String type , String time){
        this.localId = localId ;
        this.goodsId = goodsId ;
        this.num = num ;
        this.remark = remark ;
        this.buyer = buyer ;
        this.sales = sales ;
        this.type = type ;
        this.time = time ;
    }

    public Order(int id , int localId , int goodsId , int num , String remark ,
                 String buyer , String sales , String type , String time){
        this.id = id ;
        this.localId = localId ;
        this.goodsId = goodsId ;
        this.num = num ;
        this.remark = remark ;
        this.buyer = buyer ;
        this.sales = sales ;
        this.type = type ;
        this.time = time ;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLocalId() {
        return localId;
    }

    public void setLocalId(int localId) {
        this.localId = localId;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getBuyer() {
        return buyer;
    }

    public void setBuyer(String buyer) {
        this.buyer = buyer;
    }

    public String getSales() {
        return sales;
    }

    public void setSales(String sales) {
        this.sales = sales;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", localId=" + localId +
                ", goodsId=" + goodsId +
                ", num=" + num +
                ", remark='" + remark + '\'' +
                ", buyer='" + buyer + '\'' +
                ", sales='" + sales + '\'' +
                ", type='" + type + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
